package com.apollow.oschina.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.apollow.oschina.base.BaseActivityVPAdapter;
import com.apollow.oschina.base.BaseVPActivity;
import com.apollow.oschina.fragment.FollowFragment;

/**
 * Created by Dragon on 2017/1/14.
 */
public class ActiveActivity extends BaseVPActivity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected String setTitle(String text) {
        return "活动";
    }

    @Override
    protected void setupTab(BaseActivityVPAdapter vpAdapter) {
        vpAdapter.addTab("近期活动", FollowFragment.class,getBundle("近期活动"));
        vpAdapter.addTab("我的活动", FollowFragment.class,getBundle("我的活动"));
    }
}
